package org.linlinjava.litemall.wx.vo;


import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.linlinjava.litemall.db.domain.LitemallIntegralLog;
import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;
import java.util.List;

@ApiModel("积分变更记录VO ")
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class WxIntegralChangeLogVo  implements Serializable {
        @ApiModelProperty("ID")
        private Integer id;
        @ApiModelProperty("用户ID")
        private Integer userId;
        @ApiModelProperty("剩余积分")
        private BigDecimal points;
        @ApiModelProperty("根据type积分变动值")
        private BigDecimal changePoints;
        @ApiModelProperty(" 5 管理台扣减积分,6 管理台添加积分 ")
        private Byte type;
        @ApiModelProperty("逻辑删除")
        private Boolean deleted;
        @ApiModelProperty("创建时间")
        private LocalDateTime addTime;
        @ApiModelProperty("余额明细id")
        private Integer consumptionId;
        @ApiModelProperty("订单id")
        private Integer orderId;
        @ApiModelProperty("使用类型:「1 系统添加、减少、2 邀请获得积分、3 购买订阅、4 购买付费会员、5 积分兑换商品」、6 退还「积分退款」、7 退款「订单退款」")
        private Integer useType;
        @ApiModelProperty("商品名称")
        private List<String> goodsName;
        @ApiModelProperty("订阅名称")
        private String subscribeName;
        @ApiModelProperty("付费会员名称")
        private String payMemberName;
        @ApiModelProperty("是否邀请")
        private Byte invitation;
        @ApiModelProperty("邀请人账号")
        private String invitationAccount;
}
